Nevron .NET Vision
Nevron.Compression Namespace / DeflaterOutputStream Class / ReadAsync Method / ReadAsync(Byte[],Int32,Int32,CancellationToken) Method


In This Topic
    ReadAsync(Byte[],Int32,Int32,CancellationToken) Method
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Runtime.InteropServices.ComVisibleAttribute(False)>
    <__DynamicallyInvokableAttribute()>
    <System.Security.Permissions.HostProtectionAttribute(SecurityAction.LinkDemand, ExternalThreading=True)>
    Public Overloads Overridable Function ReadAsync( _
       ByVal buffer() As System.Byte, _
       ByVal offset As System.Integer, _
       ByVal count As System.Integer, _
       ByVal cancellationToken As System.Threading.CancellationToken _
    ) As System.Threading.Tasks.Task(Of Integer)
    'Usage
     
    
    Dim instance As DeflaterOutputStream
    Dim buffer() As System.Byte
    Dim offset As System.Integer
    Dim count As System.Integer
    Dim cancellationToken As System.Threading.CancellationToken
    Dim value As System.Threading.Tasks.Task(Of Integer)
     
    value = instance.ReadAsync(buffer, offset, count, cancellationToken)
    [System.Runtime.InteropServices.ComVisible(false)]
    [__DynamicallyInvokable()]
    [System.Security.Permissions.HostProtection(SecurityAction.LinkDemand, ExternalThreading=true)]
    public virtual System.Threading.Tasks.Task<int> ReadAsync( 
       System.byte[] buffer,
       System.int offset,
       System.int count,
       System.Threading.CancellationToken cancellationToken
    )

    Parameters

    buffer
    offset
    count
    cancellationToken
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also